package com.company;

import com.company.service.ThreadA;

public class Task3 {
    public static void main(String[] args) {
        //todo 3.写两个线程，两个线程交替打印1-100的数组
        ThreadA a = new ThreadA();
        Thread thread1 = new Thread(a);
        thread1.start();
        Thread thread2 = new Thread(a);
        thread2.start();
    }
}
